/**
 * Created by lenovo on 2016/8/24.
 */
var express = require('express');
var app = require('../app');
var router = express.Router();

/* GET home page. */
router.get('/details', function (req, res, next) {
    console.log(app.serverPath())
    res.render('news_details', { serverPath: app.serverPath() });
});
router.get('/details1', function (req, res, next) {
    res.render('news_details1', { serverPath: app.serverPath() });
});
router.get('/details2', function (req, res, next) {
    res.render('news_details2', { serverPath: app.serverPath() });
});
router.get('/details3', function (req, res, next) {
    res.render('news_details3', { serverPath: app.serverPath() });
});
module.exports = router;
